package com.tequila.core.service;

import com.tequila.domain.dto.CardCouponReceiveRecordDto;
import com.tequila.domain.entity.CardCouponReceiveRecord;
import com.tequila.domain.query.CardCouponReceiveRecordQuery;

import fe.core.Pagination;

import java.util.List;

public interface CardCouponReceiveRecordService {

    public Pagination<CardCouponReceiveRecordDto> queryPageListByParam(CardCouponReceiveRecordQuery query);

    public CardCouponReceiveRecordDto queryById(Long id);

    public List<CardCouponReceiveRecordDto> queryByIdList(List<Long> idList);

    public List<CardCouponReceiveRecordDto> queryListByParam(CardCouponReceiveRecordQuery query);

    public Long insert(CardCouponReceiveRecord entity);

    public Long save(CardCouponReceiveRecord entity);

    public int updateById(CardCouponReceiveRecord param);

    public int updateSelectiveById(CardCouponReceiveRecord param);

    public int deleteById(Long id);

    public int deleteByIdList(List<Long> idList);
}
